


Route::group(function () {
    //秒杀
        Route::get("/seckill_index", "app\admin\controller\Seckill@index")->name("seckill.index");// 列表
        Route::get("/seckill_detail", "app\admin\controller\Seckill@detail")->name("seckill.detail");// 详情
        Route::get("/seckill_order", "app\admin\controller\Seckill@seckill_order")->name("seckill.order");// 订单记录
        Route::get("/seckill_order_detail", "app\admin\controller\Seckill@order_detail")->name("seckill.order_detail");// 订单详情
        Route::post("/seckill_order_export", "app\admin\controller\Seckill@order_export")->name("seckill.seckill_order_export");// 订单导出
        Route::post("/seckill_log_export", "app\admin\controller\Seckill@log_export")->name("seckill.log_export");// 砍价记录导出
        Route::get("/seckill_log", "app\admin\controller\Seckill@seckill_log")->name("seckill.log");// 秒杀记录
        Route::post("/seckill_delete", "app\admin\controller\Seckill@delete")->name("seckill.delete");// 删除
        Route::post("/seckill_create", "app\admin\controller\Seckill@create")->name("seckill.create");// 创建  
        Route::post("/seckill_edit", "app\admin\controller\Seckill@edit")->name("seckill.edit");// 编辑
    })
->allowCrossDomain()// 跨域
->middleware(middleware\Auth::class)// jwt认证
->middleware(middleware\Permission::class);// 权限认证